<script setup>
   import { useRoute } from 'vue-router';
   import { ref } from 'vue';

   let id = ref(0);
   let name = ref("");

   let route = useRoute();
   id.value = route.params.id;
   name.value = route.params.name;

</script>

<template>
  <div>
      {{id}} :: {{name}}
  </div>
</template>

<style scoped>

</style>